﻿using System;
using System.Xml.Serialization;

namespace Tumblr.API
{
    [Serializable]
    public class TumbleLog
    {
        [XmlAttribute("title")]
        public string Title { get; set; }

        [XmlAttribute("is-admin")]
        public int IsAdmin { get; set; }
        
        [XmlAttribute("posts")]
        public int Posts { get; set; }
        
        [XmlAttribute("twitter-enabled")]
        public int TwitterEnabled { get; set; }
        
        [XmlAttribute("draft-count")]
        public int DraftCount { get; set; }
        
        [XmlAttribute("messages-count")]
        public int MessagesCount { get; set; }
        
        [XmlAttribute("queue-count")]
        public int QueueCount { get; set; }
        
        [XmlAttribute("name")]
        public string Name { get; set; }
        
        [XmlAttribute("url")]
        public string Url { get; set; }
        
        [XmlAttribute("type")]
        public string Type { get; set; }
        
        [XmlAttribute("followers")]
        public int Followers { get; set; }
        
        [XmlAttribute("avatar-url")]
        public string AvatarUrl { get; set; }
        
        [XmlAttribute("is-primary")]
        public string IsPrimary { get; set; }
        
        [XmlAttribute("backup-post-limit")]
        public int BackupPostLimit { get; set; }
    }
}
